package com.itheima;

/**
 * 2025/4/14 20:56
 */
public class Dog extends Animal{

    @Override//提示和检查
    public void sound() {
        System.out.println("汪汪汪");
    }
    //狗看家
    public void watchHome(){
        System.out.println("狗看家");
    }

}
